﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SpecialGoods.ascx.cs" Inherits="UserControls_SpecialGoods" %>
<table border="0" cellpadding="0" cellspacing="0" style="width:180px; background-color:#E3F0F6 ; font-size:9pt;">
    <tr>
      <td>
          <asp:ListView ID="lvPrdts" runat="server" GroupItemCount="1">
            <GroupTemplate>
                    <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
            </GroupTemplate>
            <LayoutTemplate>                        
                <table style="width:180px">
                    <asp:PlaceHolder ID="groupPlaceholder" runat="server" />
                </table>
                <asp:DataPager ID="DataPager1" runat="server" PagedControlID="lvPrdts" Visible="false"  PageSize="10">
                    <Fields>
                        <asp:NumericPagerField />
                    </Fields>
                </asp:DataPager>
            </LayoutTemplate>
            <ItemTemplate>
                <tr>
                  <td><a href='<%# "CommonProducts.aspx?prdtId="+Eval("Id") %>'><asp:Image ID="Image1" runat="server" style="width:100px; height:120px" ImageUrl='<%#Eval("Src") %>' /></a></td>
                  <td  valign="top" style="font-size:9pt">
                    <asp:HyperLink ID="hlSpecial" runat="server" NavigateUrl='<%# "~/CommonProducts.aspx?prdtId="+Eval("Id") %>' Text='<%# Eval("Name") %>'></asp:HyperLink>
                    <%--<asp:LinkButton ID="btnPrdtID" runat="server" CommandArgument='<%# Eval("Id") %>' CommandName="Prdt" Text='<%# Eval("Name") %>'>商品名称</asp:LinkButton>--%>           
                    <br />
                    GS价:<asp:Label ID="lblSaledPrice" runat="server" Text='<%# Eval("Price") %>'></asp:Label><br />
                      <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
                  </td>
                </tr>
            </ItemTemplate>
            <EmptyDataTemplate>
            非常抱歉,没有找到您需要的产品!
            </EmptyDataTemplate>
            <EmptyItemTemplate>
            </EmptyItemTemplate>
        </asp:ListView>
      </td>
    </tr>
</table>
